package com.skyc.entity;


public class Order {
	private int oid;// 订单编号
	private int uid;// 用户编号
	private int oprice;// 总价
	private String odate;// 订单日期
	private int ostate;// 是否收货
	private int osend;// 是否发货
	private int otuihuo;// 是否退货 0退款退货  1仅退款  2交易成功
	private int opayed;// 支付情况
	private int onum;// 订购总数
	private int osuccess;//交易是否成功 0 1 
	private Clothes clothes;//衣服对象
	private int oorder;//订单是否取消
	public int getOid() {
		return oid;
	}
	public void setOid(int oid) {
		this.oid = oid;
	}
	
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public int getOprice() {
		return oprice;
	}
	public void setOprice(int oprice) {
		this.oprice = oprice;
	}
	
	public String getOdate() {
		return odate;
	}
	public void setOdate(String odate) {
		this.odate = odate;
	}
	public int getOsuccess() {
		return osuccess;
	}
	public void setOsuccess(int osuccess) {
		this.osuccess = osuccess;
	}
	public int getOstate() {
		return ostate;
	}
	public void setOstate(int ostate) {
		this.ostate = ostate;
	}
	public int getOsend() {
		return osend;
	}
	public void setOsend(int osend) {
		this.osend = osend;
	}
	public int getOtuihuo() {
		return otuihuo;
	}
	public void setOtuihuo(int otuihuo) {
		this.otuihuo = otuihuo;
	}
	public int getOpayed() {
		return opayed;
	}
	public void setOpayed(int opayed) {
		this.opayed = opayed;
	}
	public int getOnum() {
		return onum;
	}
	public void setOnum(int onum) {
		this.onum = onum;
	}
	public Clothes getClothes() {
		return clothes;
	}
	public void setClothes(Clothes clothes) {
		this.clothes = clothes;
	}
	public int getOorder() {
		return oorder;
	}
	public void setOorder(int oorder) {
		this.oorder = oorder;
	}
	@Override
	public String toString() {
		return "Order [oid=" + oid + ", uid=" + uid + ", oprice=" + oprice + ", odate=" + odate + ", ostate=" + ostate
				+ ", osend=" + osend + ", otuihuo=" + otuihuo + ", opayed=" + opayed + ", onum=" + onum + ", osuccess="
				+ osuccess + ", clothes=" + clothes + ", oorder=" + oorder + "]";
	}
	
      
}
